import 'package:flutter/cupertino.dart';

/// FileName tab_info_model
///
/// @Author lax
/// @Date 2023/5/10
///
/// @Description

class TabModel {
  int? id;

  String? title;

  Widget? widget;

  dynamic type;

  dynamic key;

  dynamic extra;

  TabModel({
    this.id,
    this.title,
    this.widget,
    this.type,
    this.key,
    this.extra,
  });

  TabModel.fromJson(dynamic json) {
    id = json['Id'];
    title = json['title'];
  }

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['Id'] = id;
    map['title'] = title;
    return map;
  }
}
